﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace weighing
{
    public class LedConfig
    {

        public static LedConfig Default
        {
            get
            {
                return new LedConfig
                {
                    Ip = "",
                    ScreemWidth = 160,
                    ScreemHeight = 90,
                    GrayLevel = 1,
                    ColorLevel = 1,
                    FontSize = 12,
                };
            }
        }

        /// <summary>
        /// 局域网 控制板 IP
        /// </summary>
        public string Ip { get; set; }
        /// <summary>
        /// 屏宽
        /// </summary>
        public int ScreemWidth { get; set; }
        /// <summary>
        /// 屏高
        /// </summary>
        public int ScreemHeight { get; set; }

        /// <summary>
        /// 灰度等级
        /// </summary>
        public int GrayLevel { get; set; }
        /// <summary>
        /// 颜色 1单基色
        /// </summary>
        public int ColorLevel { get; set; }


        public int FontSize { get; set; }
    }
}
